package com.hellobike.haxing.modules.supplier.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 发票表
 * @Author: haxing-boot
 * @Date:   2020-01-16
 * @Version: V1.0
 */
@Data
@TableName("t_supplier_invoice")
public class TSupplierInvoice implements Serializable {
	private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
	private java.lang.Long id ;
	/**供应商内部信息id*/
	@Excel(name = "供应商内部信息id", width = 15)
	private java.lang.Long supplierInfoId ;
	/**一级类目*/
	@Excel(name = "一级类目", width = 15)
	private java.lang.String firstCategory ;
	/**二级类目*/
	@Excel(name = "二级类目", width = 15)
	private java.lang.String secondCategory ;
	/**三级类目*/
	@Excel(name = "三级类目", width = 15)
	private java.lang.String thirdCategory ;
	/**税率*/
	@Excel(name = "税率", width = 15)
	private java.lang.String taxRate ;
	/**合同id*/
	@Excel(name = "合同id", width = 15)
	private java.lang.Long contractId ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
	private java.lang.Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
	private java.lang.Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
	@TableLogic
	private java.lang.Integer deleted ;

	/**一级分类*/
	@TableField(exist = false)
	private java.lang.String firstCategoryName ;
	/**二级分类*/
	@TableField(exist = false)
	private java.lang.String secondCategoryName ;
	/**三级级分类*/
	@TableField(exist = false)
	private java.lang.String thirdCategoryName ;

}
